package com.gid.rcflightlogger;


public class RCFlightDbAdaptor
{
	
	
	/*
	
	public RCFlightDbAdaptor(Context ctx) {
    }
	
	public RCFlightDbAdaptor open() throws SQLException {
        mDbHelper = new DatabaseHelper(mCtx);
        mDb = mDbHelper.getWritableDatabase();
        return this;
    }
	
	public void close() {
        mDbHelper.close();
    }

	//API to access aircrafts table
	public long createAircraft(String name)
	{
		
		
	}
	public boolean deleteAircraft(String name)
	{
		
		
	}
	public boolean updateAircraft(String name)
	{
		
	}
	
	
	
	
	"CREATE TABLE aircraft(_id INTEGER PRIMARY KEY NOT NULL, type TEXT NOT NULL default 'helicopter', name TEXT NOT NULL, date_build TEXT, date_register TEXT, active INTEGER NOT NULL default 1 )"
	private 
	public class RCFlightDbAdaptor extends SQLiteOpenHelper {

		@Override
		public void onCreate(SQLiteDatabase db) {
			// TODO Auto-generated method stub

		}
		
		@Override
		public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
			// TODO Auto-generated method stub

		}
	}*/

}
